<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
$this->load->helper('url');
?>
  <div class="user-body">
  	<div class="body-content">
      <div class="body-title">
       	<?php echo lang('user_intro');?>      </div>
      
      <div class="safe-info" style="background:none;">
        <div class="icon"><i class="fa fa-podcast"></i></div>
        <div class="txt">
        	<ul>
        	  <li class="safe-uid"><span><?php echo lang('user_intro_people');?>：<?php echo $intro_people;?></span></li>
			  <li class="last-login">推广链接：<?php echo site_url('user/reg');?>?uid=<?php echo $user['id'];?></li>
			</ul>
			<div class="clear"></div>
        </div>
        <div class="clear"></div>
      </div>
      
      <div class="list">
        <table cellspacing=0 cellpadding=0 border=0>
				<thead>
					<tr>
						<th><?php echo lang('user_intro_UID');?></th>
						<th><?php echo lang('user_intro_fill');?></th>
						<th><?php echo lang('user_intro_reward');?></th>
						<th><?php echo lang('user_intro_time');?></th>
						<th><?php echo lang('user_intro_status');?></th>
					</tr>
				</thead>
				<tbody>
				
<?php
foreach ($list as $v) {
?>					<tr>
						<td><?php echo $v['user_id'];?></td>
						<td><?php echo $v['fill_amount'];?></td>
						<td><?php echo $v['reward_amount'];?></td>
						<td><?php echo date('Y-m-d H:i:s', $v['add_time']);?></td>
						<td>
<?php
	if ($v['status'] == 0) {
?>正常<?php
	}
	else {
?>冻结<?php
	}

?></td>
					</tr>
				<?php
}

?>				</tbody>
			</table>
			<div class="page">
			  <?php echo $page;?>			</div>
			
<?php
if (!$list) {
?>			<div class="not-list">
				<i class="fa fa-ban"></i>
				<span><?php echo lang('user_not_list');?></span>
			</div>
			<?php
}

?>      </div>
      
    </div>
  </div>
  <div class="clear"></div>
</div>